import urllib, random

url = 'http://www.miitbeian.gov.cn/icp/publish/query/icpMemoInfo_login.action?siteName=&condition=1&siteDomain=eaglephp.com&siteUrl=&mainLicense=&siteIp=&unitName=&mainUnitNature=-1&certType=-1&mainUnitCertNo=&verifyCode='
file("%04d.txt" % random.randrange(10000), "wb").write(urllib.urlopen(url).read())
